<?php
	header("Content-Type: text/html;charset=utf-8");
	include("function/_nosql.php"); //
	include("function/function.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>CVA介绍_<?= $web_titles ?></title>
<meta name="Keywords" content="CVA介绍,<?= $web_keywords ?>" />
<meta name="Description" content="<?= $web_description ?>" />
<link rel="stylesheet" href="css/common.css"/>
<link rel="stylesheet" href="css/style.css"/>
<script type="text/javascript" src="js/baidutongji.js"></script>
</head>
<body>
    <!--top-bar begin-->
	<? include("_include.top.topbar.php") ?>
    <!--top-bar end-->
    <!--header begin-->
	<? include("_include.top.navbar.php") ?>
    <!--banner begin-->
    <div class="inner-banner1">
        <div class="inner-pic"><img src="images/ban1.jpg" alt=""/></div>
        <!--<div class="search-wap">
            <div class="search-box">
			<form name="SearchForm" id="SearchForm" method="post" action="active_search.php">
                <input type="text" class="search-text input_wby" holdplace="搜索目的地/攻略/活动" name="search_text"/>
                <input type="submit" class="search-send" value=""/>
			</form>
            </div>
        </div>-->
    </div>
    <!--banner end-->
    <!--活动 begin-->
    <div class="f-item-box">
        <div class="content">
            <div class="hd-nav-wrap">
                <ul class="hd-nav">
                    <?php
						$bigclass_sql = "select * from kboy_bigclass where pid=69 order by bigclass_order asc, id asc";
						$bigclass_rows = mysql_query($bigclass_sql);
						while($bigclass_rs = mysql_fetch_array($bigclass_rows)){
							echo "<li ><a href='".$bigclass_rs['bigclass_urls']."'>".$bigclass_rs['bigclass_cn']."</a></li>";
						}
					?>
                </ul>
            </div>
            <style type="text/css">
            	.hd-nav li:nth-of-type(1) a{
            		color: #2260b4;
            		background: none;
            	}
            	.hd-nav li:nth-of-type(2) a{
            		color: #2260b4;
            		background: none;
            	}
            	.hd-nav li:nth-of-type(3) a{
            		color: #fff;
            		background: #2260b4;
            	}
            </style>
            <div class="bd-content pt35">
                <div class="con-pane on">
                    <div class="g-con">
                        <div class="g-con-item">
                            <div class="g-title">
                                <h3>CVA分部介绍</h3>
                                <div class="line"></div>
                            </div>
                            <div class="history_con">
                                <div class="con">
                                     <?=getClassName("kboy_news","news_content","news_bigclass=206")?>
                                </div>
                                <div class="more" style="display:none;"><a href="javascript:;">展开&gt;&gt;</a></div>
                            </div>
                        </div>
                        <div class="g-con-item">
                            <div class="g-title">
                                <h3><?=getClassName("kboy_news","news_title","news_bigclass=94")?></h3>
                                <div class="line"></div>
                            </div>
                            <div class="history_con">
                                <div class="con">
                                    <?=getClassName("kboy_news","news_content","news_bigclass=94")?>
                                </div>
                                <div class="more" style="display:none;"><a href="javascript:;">展开&gt;&gt;</a></div>
                            </div>
                        </div>
                        <div class="g-con-item">
                            <div class="g-title">
                                <h3><?=getClassName("kboy_bigclass","bigclass_cn","id=95")?></h3>
                                <div class="line"></div>
                            </div>
                            <div class="cva-box-1">
                                <div class="cva-box-1-l">
							<?php
									$IDs = "";
									$N_ClassID = 95;
									$news_sql = "select * from kboy_news where news_bigclass=$N_ClassID order by news_top desc,news_order desc, id desc limit 3";
									$news_rows = mysql_query($news_sql);
									while($news_rs = mysql_fetch_array($news_rows)){
							?>
                                    <dl>
                                        <dt><a href="ivvview.php?newsid=<?=$news_rs['id']?>" target="_blank"><img src="<?=$news_rs['news_pic']?>" width="150" height="100" alt=""/></a></dt>
                                        <dd>
                                            <div class="title"><a href="ivvview.php?newsid=<?=$news_rs['id']?>" target="_blank"><?=$news_rs['news_title']?></a></div>
                                            <div class="con"><a href="ivvview.php?newsid=<?=$news_rs['id']?>" target="_blank"><?=$news_rs['news_text']?></a></div>
                                        </dd>
                                    </dl>
							<?php
									$IDs = $IDs . "," . $news_rs['id'];
									}
									$IDs = rtrim(ltrim($IDs,','),',');
							?>
                                </div>
                                <div class="cva-box-1-r">
                                    <div class="hd-photo-show">
                                        <ul class="bigImg">
							<?php
									if($IDs){
										$news_sql = "select * from kboy_news where news_bigclass=$N_ClassID and id not in(".$IDs.") order by news_top desc,news_order desc, id desc limit 10";
									}else{
										$news_sql = "select * from kboy_news where news_bigclass=$N_ClassID order by news_top desc,news_order desc, id desc limit 10";
									}
									$news_rows = mysql_query($news_sql);
									while($news_rs = mysql_fetch_array($news_rows)){
							?>
									<li>
										<a href="ivvview.php?newsid=<?=$news_rs['id']?>" target="_blank">
											<img src="<?=$news_rs['news_pic']?>">
											<p><?=$news_rs['news_title']?></p>
										</a>
									</li>
							<?php
									}
							?>
                                        </ul>
                                        <div class="smallScroll">
                                            <a class="sPrev" href="javascript:void(0)"></a>
                                            <div class="smallImg">
                                                <ul>
												
							<?php
									if($IDs){
										$news_sql = "select * from kboy_news where news_bigclass=$N_ClassID and id not in(".$IDs.") order by news_top desc,news_order desc, id desc limit 10";
									}else{
										$news_sql = "select * from kboy_news where news_bigclass=$N_ClassID order by news_top desc,news_order desc, id desc limit 10";
									}
									$news_rows = mysql_query($news_sql);
									while($news_rs = mysql_fetch_array($news_rows)){
							?>
                                                    <li style="float: left; width: 62px;"><a><img src="<?=$news_rs['news_pic']?>"></a></li>
							<?php
									}
							?>
                                                </ul>
                                            </div>
                                            <a class="sNext nextStop" href="javascript:void(0)"></a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="g-con-item">
                            <div class="g-title">
                                <h3><?=getClassName("kboy_bigclass","bigclass_cn","id=96")?></h3>
                                <div class="line"></div>
                            </div>
                            <div class="cva-box-2">
                                <div class="bd">
                                    <ul class="picList">
									
									
							<?php
									$news_sql = "select * from kboy_news where news_bigclass=96 order by news_top desc,news_order desc, id desc limit 5";
									$news_rows = mysql_query($news_sql);
									while($news_rs = mysql_fetch_array($news_rows)){
							?>
                                        <li>
                                            <a href="ivvview.php?newsid=<?=$news_rs['id']?>" target="_blank">
                                                <div class="pic"><img src="<?=$news_rs['news_pic']?>" alt=""/></div>
                                                <p class="title"><?=$news_rs['news_title']?></p>
                                            </a>
                                        </li>
							<?php
									}
							?>
                                    </ul>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!--foot begin-->
	<? include("_include.bottom.footbar.php") ?>
    <!--foot begin-->
    <!--左侧悬浮 begin-->
	<? include("_include.bottom.leftbar.php") ?>
    <!--左侧悬浮 end-->
    <!--右侧悬浮导航 begin-->
	<? include("_include.bottom.rightbar.php") ?>
    <!--右侧悬浮导航 end-->
    <script type="text/javascript" src="js/jquery-1.10.2.min.js"></script>
    <script type="text/javascript" src="js/jquery.SuperSlide.2.1.1.js"></script>
    <script type="text/javascript" src="js/main.js"></script>
    <script type="text/javascript" src="js/ivv.js"></script>
</body>
</html>
